{include file="public/header"/}
{include file="public/menu"/}
<div class="page-content">
<div class="x-nav">
            <span class="layui-breadcrumb">
                <a href="{:Url('admin/index/index')}">首页</a>
                <a><cite>数据统计</cite></a>
            </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
       onclick="location.reload()" title="刷新">
        <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i>
    </a>
</div>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <form class="layui-form layui-col-space5" action="" method="get">
                        <div class="layui-input-inline layui-show-xs-block">
                            <input class="layui-input" value="{$start_time}" id="start_time" name="start_time"> &nbsp;-&nbsp;
                            <input class="layui-input" value="{$end_time}" id="end_time" name="end_time">
                        </div>
                        <div class="layui-input-inline layui-show-xs-block">
                            <input class="layui-input" placeholder="下级用户名" name="pid_name">
                        </div>
                        <div class="layui-input-inline layui-show-xs-block">
                            <button class="layui-btn" lay-submit="" lay-filter="sreach">查询</button>
                            <button class="layui-btn layui-btn-danger" onClick="day_dec()" lay-submit=""
                                    lay-filter="sreach">上一天
                            </button>
                            <button class="layui-btn layui-btn-danger" onClick="day_inc()" lay-submit=""
                                    lay-filter="sreach">下一天
                            </button>
                        </div>
                    </form>
                    <hr>
                </div>

                <script >
                function day_dec(){
                document.getElementById("start_time").value = "{$dec_time}";
                document.getElementById("end_time").value = "{$dec_time}";
                }
                function day_inc(){
                document.getElementById("start_time").value = "{$inc_time}";
                document.getElementById("end_time").value = "{$inc_time}";
                }
                </script>


                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body ">
                            <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                                <li class="layui-col-md2 layui-col-xs6" style="width: 150px">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>注册人数</h3>
                                        <p>
                                            <cite>{$info.reg_num}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-md2 layui-col-xs6" style="width: 150px">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>通道充值</h3>
                                        <p>
                                            <cite>{$info.c_recharge}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-md2 layui-col-xs6" style="width: 150px">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>通道手续费</h3>
                                        <p>
                                            <cite>{$info.service_cz}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-md2 layui-col-xs6" style="width: 150px">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>手动充值</h3>
                                        <p>
                                            <cite>{$info.m_recharge}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-md2 layui-col-xs6" style="width: 150px">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>提现金额</h3>
                                        <p>
                                            <cite>{$info.m_withdrawal}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-md2 layui-col-xs6" style="width: 150px">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>提现手续费</h3>
                                        <p>
                                            <cite>{$info.m_withdrawal_cost}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-md2 layui-col-xs6" style="width: 150px">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>抢单次数 </h3>
                                        <p>
                                            <cite>{$info.grab_num}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-md2 layui-col-xs6" style="width: 150px">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>充值次数</h3>
                                        <p>
                                            <cite>{$info.r_number}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-md2 layui-col-xs6" style="width: 150px">
                                    <a href="javascript:;" class="x-admin-backlog-body">
                                        <h3>盈利金额</h3>
                                        <p>
                                            <cite>{$info.profit}</cite></p>
                                    </a>
                                </li>

                            </ul>
                        </div>
                    </div>
                </div>
                <style id="welcome_style"></style>
            </div>
        </div>
    </div>
</div>
</div>
{include file="public/footer"/}
